.class Lcom/nemustech/regina/ElementReginaWidget$18;
.super Ljava/lang/Object;
.source "ElementReginaWidget.java"

# interfaces
.implements Lcom/nemustech/tiffany/world/TFWorld$OnEffectFinishListener;


# annotations
.annotation system Ldalvik/annotation/EnclosingMethod;
    value = Lcom/nemustech/regina/ElementReginaWidget;->refreshFrontCenter()V
.end annotation

.annotation system Ldalvik/annotation/InnerClass;
    accessFlags = 0x0
    name = null
.end annotation


# instance fields
.field final synthetic this$0:Lcom/nemustech/regina/ElementReginaWidget;


# direct methods
.method constructor <init>(Lcom/nemustech/regina/ElementReginaWidget;)V
    .locals 0
    .parameter

    .prologue
    .line 1474
    iput-object p1, p0, Lcom/nemustech/regina/ElementReginaWidget$18;->this$0:Lcom/nemustech/regina/ElementReginaWidget;

    invoke-direct {p0}, Ljava/lang/Object;-><init>()V

    return-void
.end method


# virtual methods
.method public onEffectFinish(Lcom/nemustech/tiffany/world/TFObject;)V
    .locals 7
    .parameter "object"

    .prologue
    const/4 v6, 0x0

    const/4 v5, 0x0

    .line 1477
    iget-object v1, p0, Lcom/nemustech/regina/ElementReginaWidget$18;->this$0:Lcom/nemustech/regina/ElementReginaWidget;

    invoke-virtual {v1}, Lcom/nemustech/regina/ElementReginaWidget;->getPrefRowNum()I

    move-result v1

    if-lez v1, :cond_0

    .line 1478
    iget-object v1, p0, Lcom/nemustech/regina/ElementReginaWidget$18;->this$0:Lcom/nemustech/regina/ElementReginaWidget;

    iget-object v2, p0, Lcom/nemustech/regina/ElementReginaWidget$18;->this$0:Lcom/nemustech/regina/ElementReginaWidget;

    invoke-virtual {v2}, Lcom/nemustech/regina/ElementReginaWidget;->getPrefRowNum()I

    move-result v2

    invoke-virtual {v1, v2}, Lcom/nemustech/regina/ElementReginaWidget;->saveRowNum(I)V

    .line 1481
    :cond_0
    iget-object v1, p0, Lcom/nemustech/regina/ElementReginaWidget$18;->this$0:Lcom/nemustech/regina/ElementReginaWidget;

    iget-boolean v1, v1, Lcom/nemustech/regina/ElementReginaWidget;->mHasPaging:Z

    if-eqz v1, :cond_1

    .line 1482
    iget-object v1, p0, Lcom/nemustech/regina/ElementReginaWidget$18;->this$0:Lcom/nemustech/regina/ElementReginaWidget;

    iget-object v2, p0, Lcom/nemustech/regina/ElementReginaWidget$18;->this$0:Lcom/nemustech/regina/ElementReginaWidget;

    iget v2, v2, Lcom/nemustech/regina/ElementReginaWidget;->mCurrPage:I

    invoke-static {v1, v2}, Lcom/nemustech/regina/ElementReginaWidget;->access$1100(Lcom/nemustech/regina/ElementReginaWidget;I)I

    move-result v0

    .line 1483
    .local v0, startItemIndexCurPage:I
    iget-object v1, p0, Lcom/nemustech/regina/ElementReginaWidget$18;->this$0:Lcom/nemustech/regina/ElementReginaWidget;

    iget-object v2, p0, Lcom/nemustech/regina/ElementReginaWidget$18;->this$0:Lcom/nemustech/regina/ElementReginaWidget;

    iget v2, v2, Lcom/nemustech/regina/ElementReginaWidget;->mTotalItemNum:I

    iget-object v3, p0, Lcom/nemustech/regina/ElementReginaWidget$18;->this$0:Lcom/nemustech/regina/ElementReginaWidget;

    invoke-virtual {v3}, Lcom/nemustech/regina/ElementReginaWidget;->getRowNum()I

    move-result v3

    iget-object v4, p0, Lcom/nemustech/regina/ElementReginaWidget$18;->this$0:Lcom/nemustech/regina/ElementReginaWidget;

    invoke-static {v4}, Lcom/nemustech/regina/ElementReginaWidget;->access$1200(Lcom/nemustech/regina/ElementReginaWidget;)Ljava/util/ArrayList;

    move-result-object v4

    invoke-static {v1, v2, v3, v4}, Lcom/nemustech/regina/ElementReginaWidget;->access$1300(Lcom/nemustech/regina/ElementReginaWidget;IILjava/util/List;)V

    .line 1484
    iget-object v1, p0, Lcom/nemustech/regina/ElementReginaWidget$18;->this$0:Lcom/nemustech/regina/ElementReginaWidget;

    iget-object v2, p0, Lcom/nemustech/regina/ElementReginaWidget$18;->this$0:Lcom/nemustech/regina/ElementReginaWidget;

    invoke-static {v2, v0}, Lcom/nemustech/regina/ElementReginaWidget;->access$1400(Lcom/nemustech/regina/ElementReginaWidget;I)I

    move-result v2

    iput v2, v1, Lcom/nemustech/regina/ElementReginaWidget;->mCurrPage:I

    .line 1487
    .end local v0           #startItemIndexCurPage:I
    :cond_1
    iget-object v1, p0, Lcom/nemustech/regina/ElementReginaWidget$18;->this$0:Lcom/nemustech/regina/ElementReginaWidget;

    iget-object v1, v1, Lcom/nemustech/regina/ElementReginaWidget;->mFrontCenterItemPanel:Lcom/nemustech/tiffany/world/TFPanel;

    iget-object v2, p0, Lcom/nemustech/regina/ElementReginaWidget$18;->this$0:Lcom/nemustech/regina/ElementReginaWidget;

    iget v2, v2, Lcom/nemustech/regina/ElementReginaWidget;->mWidget3DWidth:F

    iget-object v3, p0, Lcom/nemustech/regina/ElementReginaWidget$18;->this$0:Lcom/nemustech/regina/ElementReginaWidget;

    iget v3, v3, Lcom/nemustech/regina/ElementReginaWidget;->mCenter3DHeight:F

    invoke-virtual {v1, v2, v3}, Lcom/nemustech/tiffany/world/TFPanel;->setSize(FF)V

    .line 1488
    iget-object v1, p0, Lcom/nemustech/regina/ElementReginaWidget$18;->this$0:Lcom/nemustech/regina/ElementReginaWidget;

    iget-object v1, v1, Lcom/nemustech/regina/ElementReginaWidget;->mFrontCenterItemPanel:Lcom/nemustech/tiffany/world/TFPanel;

    invoke-virtual {v1, v5, v6, v6}, Lcom/nemustech/tiffany/world/TFPanel;->setImageResource(ILandroid/graphics/Bitmap;Landroid/graphics/Rect;)Z

    .line 1489
    iget-object v1, p0, Lcom/nemustech/regina/ElementReginaWidget$18;->this$0:Lcom/nemustech/regina/ElementReginaWidget;

    iget-object v1, v1, Lcom/nemustech/regina/ElementReginaWidget;->mFrontCenterItemPanel:Lcom/nemustech/tiffany/world/TFPanel;

    iget-object v2, p0, Lcom/nemustech/regina/ElementReginaWidget$18;->this$0:Lcom/nemustech/regina/ElementReginaWidget;

    iget-object v2, v2, Lcom/nemustech/regina/ElementReginaWidget;->mCenterPanel:Lcom/nemustech/tiffany/world/TFPanel;

    invoke-virtual {v2, v5}, Lcom/nemustech/tiffany/world/TFPanel;->getLocation(I)F

    move-result v2

    iget-object v3, p0, Lcom/nemustech/regina/ElementReginaWidget$18;->this$0:Lcom/nemustech/regina/ElementReginaWidget;

    iget-object v3, v3, Lcom/nemustech/regina/ElementReginaWidget;->mCenterPanel:Lcom/nemustech/tiffany/world/TFPanel;

    const/4 v4, 0x1

    invoke-virtual {v3, v4}, Lcom/nemustech/tiffany/world/TFPanel;->getLocation(I)F

    move-result v3

    iget-object v4, p0, Lcom/nemustech/regina/ElementReginaWidget$18;->this$0:Lcom/nemustech/regina/ElementReginaWidget;

    iget-object v4, v4, Lcom/nemustech/regina/ElementReginaWidget;->mCenterPanel:Lcom/nemustech/tiffany/world/TFPanel;

    const/4 v5, 0x2

    invoke-virtual {v4, v5}, Lcom/nemustech/tiffany/world/TFPanel;->getLocation(I)F

    move-result v4

    invoke-virtual {v1, v2, v3, v4}, Lcom/nemustech/tiffany/world/TFPanel;->locate(FFF)V

    .line 1491
    iget-object v1, p0, Lcom/nemustech/regina/ElementReginaWidget$18;->this$0:Lcom/nemustech/regina/ElementReginaWidget;

    iget-object v1, v1, Lcom/nemustech/regina/ElementReginaWidget;->mFrontCenterItemPanel:Lcom/nemustech/tiffany/world/TFPanel;

    const/high16 v2, 0x3f80

    const-wide/16 v3, 0x96

    invoke-virtual {v1, v2, v3, v4}, Lcom/nemustech/tiffany/world/TFPanel;->fade(FJ)V

    .line 1492
    iget-object v1, p0, Lcom/nemustech/regina/ElementReginaWidget$18;->this$0:Lcom/nemustech/regina/ElementReginaWidget;

    iget-object v1, v1, Lcom/nemustech/regina/ElementReginaWidget;->mFrontCenterItemPanel:Lcom/nemustech/tiffany/world/TFPanel;

    new-instance v2, Lcom/nemustech/regina/ElementReginaWidget$18$1;

    invoke-direct {v2, p0}, Lcom/nemustech/regina/ElementReginaWidget$18$1;-><init>(Lcom/nemustech/regina/ElementReginaWidget$18;)V

    invoke-virtual {v1, v2}, Lcom/nemustech/tiffany/world/TFPanel;->setEffectFinishListener(Lcom/nemustech/tiffany/world/TFWorld$OnEffectFinishListener;)V

    .line 1500
    return-void
.end method
